package com.example.jetpacktaobao

import com.rcl.mvvmdemo.api.RetrofitClient

class OnSellRepository {
    suspend fun getOnSellList(page: Int) = RetrofitClient.apiServer.getOnSellList(page).apiData()

    //玩Android
    suspend fun getArticleList(page: Int) =
        RetrofitClient.wanApiServer.getWanArticleList(page).apiData()
}